<p style="margin-bottom: 0px">&nbsp;</p>
<nz-spin [nzSpinning]="loading">
<nz-card>
  <nz-tabset (nzSelectChange)="change($event)">
    <nz-tab nzTitle="全部订单"></nz-tab>
    <!--<nz-tab nzTitle="草稿"></nz-tab>-->
    <!--<nz-tab nzTitle="待提交"></nz-tab>-->
    <nz-tab nzTitle="已提交"></nz-tab>
    <nz-tab nzTitle="已审批"></nz-tab>
    <!--<nz-tab nzTitle="已分配"></nz-tab>-->
    <!--<nz-tab nzTitle="已垫款"></nz-tab>-->
    <nz-tab nzTitle="已抵押"></nz-tab>
    <nz-tab nzTitle="已提交银行"></nz-tab>
    <!--<nz-tab nzTitle="已放款"></nz-tab>-->
    <!--<nz-tab nzTitle="已结清"></nz-tab>-->
    <!--<nz-tab nzTitle="已删除"></nz-tab>-->
    <!--<nz-tab nzTitle="已拒绝"></nz-tab>-->
  </nz-tabset>
  <form nz-form [nzLayout]="'inline'" class="search__form">
    <nz-row [nzGutter]="8">
      <nz-col nzMd="4" nzSm="24">
        <nz-form-item>
          <nz-form-control>
            <input type="text" nz-input placeholder="输入订单编号" [(ngModel)]="q.orderNo" name="orderNo">
          </nz-form-control>
        </nz-form-item>
      </nz-col>
        <nz-col nzMd="4" nzSm="24">
            <nz-form-item>
                <nz-form-control>
                    <input type="text" nz-input placeholder="输入客户姓名" [(ngModel)]="q.cusName" name="cusName">
                </nz-form-control>
            </nz-form-item>
        </nz-col>
      <nz-col nzMd="4" nzSm="24">
        <nz-form-item>
          <nz-form-control>
            <input type="text" nz-input placeholder="输入电话" [(ngModel)]="q.cusMobile" name="cusMobile">
          </nz-form-control>
        </nz-form-item>
      </nz-col>
      <nz-col nzMd="4" nzSm="24">
        <nz-form-item>
          <nz-form-control>
            <input type="text" nz-input placeholder="输入新车牌" [(ngModel)]="q.orderBy30" name="orderBy30">
          </nz-form-control>
        </nz-form-item>
      </nz-col>
      <nz-col nzMd="4" nzSm="24">
        <nz-form-item>
          <nz-form-control>
            <input type="text" nz-input placeholder="输入身份证号" [(ngModel)]="q.cusIncard" name="cusMobile">
          </nz-form-control>
        </nz-form-item>
      </nz-col>

        <nz-col nzMd="3" nzSm="24">
            <button nz-button type="button" [nzType]="'primary'" class="mx-sm" (click)="st.load(1, q)">{{'search' | translate}}</button>
        </nz-col>
    </nz-row>
  </form>
</nz-card>

<simple-table #st
    [columns]="columns"
    [data]="url"
    [ps]="ps"
    [extraParams]="q"
    [resReName]="{ total: 'total', list: 'data'}"
    [reqReName]="{pi:'pageNumber', ps: 'pageSize'}"
    toTopInChange
    [showTotal]="true"
    [showPagination]="true"
    [showSizeChanger]="true"
    [scroll]="{  x: '1800px' }"
    (checkboxChange)="checkboxChange($event)"
    >

</simple-table>

</nz-spin>
